/*

Stickman Adventure - a game created by Daco & his cousin

Copyright (C) 2011-2012  DacoTaco & Wouterke

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation version 2.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.


*/
#ifndef ENEMY_H
#define ENEMY_H

#include "MovingObject.h"
#include "extern.h"

class Enemy: public MovingObject
{
protected:
	bool walk();
	void jump();
	void down();
	SDL_Rect clip;
public:
	Enemy(const char* spritesheet,int xpos , int ypos,int h , int w, const char* sound[],int soundlength);
	char Update(int collision, int y_ground , int x_wall);
	//SDL_Rect* getImageClip();
	SDL_Rect* GetColRect();
	void death(void);
	void CollisionAction(Object* o, int collision);
	//void draw(SDL_Surface* destination,Object* screen);
};

#endif